home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20010921-20020314 / 000222_Matthew_Clarke@mindlink.bc.ca_Sat Dec 8 12:21:43 EST 2001.msg < prev    next >
Text File  |  2020-01-01  |  3KB  |  75 lines

  1. Article: 13048 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!news-peer.gip.net!news.gsl.net!gip.net!newsfeed.cwix.com!torn!newsfeed.telusplanet.net!news1.telusplanet.net.POSTED!not-for-mail
  3. From: Matthew Clarke <Matthew_Clarke@mindlink.bc.ca>
  4. Newsgroups: comp.os.linux.misc,comp.protocols.kermit.misc
  5. Subject: Re: Can't open("/dev/tty",O_RDWR) in RH7.1/ia64
  6. References: <9uofq3$otq$1@watsol.cc.columbia.edu> <3C101149.5050103@redhat.com> <9uql37$m2c$1@watsol.cc.columbia.edu>
  7. User-Agent: nn/6.6.1
  8. Lines: 59
  9. Message-ID: <yQfQ7.19919$O3.2467700@news1.telusplanet.net>
  10. Date: Sat, 08 Dec 2001 03:31:42 GMT
  11. NNTP-Posting-Host: 66.183.32.75
  12. X-Trace: news1.telusplanet.net 1007782302 66.183.32.75 (Fri, 07 Dec 2001 20:31:42 MST)
  13. NNTP-Posting-Date: Fri, 07 Dec 2001 20:31:42 MST
  14. Xref: newsmaster.cc.columbia.edu comp.os.linux.misc:529887 comp.protocols.kermit.misc:13048
  15.  
  16. fdc@columbia.edu (Frank da Cruz) writes:
  17.  
  18. >In article <3C101149.5050103@redhat.com>,
  19. >Michael Lee Yohe  <myohe+USENET@redhat.com> wrote:
  20. >: > open() returns -1 with errno = 6 ("No such device or address")
  21. >: > on the following platform:
  22. >: 
  23. >: Can you interact with /dev/tty?  For instance, can you type "cat 
  24. >: /dev/tty", type things and see them echo'd back?
  25. >: 
  26. >When I first log in (over Telnet):
  27. >
  28. >  Warning: no access to tty (Inappropriate ioctl for device).
  29. >  Thus no job control in this shell.
  30. >
  31. >Then:
  32. >
  33. >  spe190> cat > /dev/tty
  34. >  /dev/tty: No such device or address.
  35. >  spe190>
  36.  
  37. [ snip ]
  38.  
  39. >Again, the platform details:
  40. >
  41. >uname -a:
  42. >  Linux spe190 2.4.9-12smp #1 SMP Tue Oct 30 17:55:42 EST 2001 ia64 unknown
  43. >
  44. >/etc/issue:
  45. >  Red Hat Linux release 7.1 (Seawolf)
  46. >  Kernel 2.4.9-12smp on a 4-processor ia64
  47.  
  48. A search on RedHat's errata pages shows a bug advisory (RHBA-2001-153)
  49. issued 13 November, but updated today, about this same symptom (but with
  50. tcsh and login.)  Seems that login was not always assigning a controlling
  51. TTY for the session, which would make most use of "/dev/tty" somewhat less
  52. than useful.
  53.  
  54.     http://www.redhat.com/support/errata/RHBA-2001-153.html
  55.  
  56. [ snip ]
  57.  
  58. >Here's another peculiarity I noticed:
  59. >
  60. >  cat > open.c
  61. >  (paste...)
  62. >  ^D
  63. >  make open
  64. >  make: *** Warning: File `open.c' has modification time in the future
  65. >  (2001-12-07 09:39:23 > 2001-12-07 09:38:58)
  66. >  cc open.c -o open
  67. >  make: warning:  Clock skew detected.  Your build may be incomplete.
  68. >
  69. >This is strange because I created the file with cat, so it got the system
  70. >time, not some random time from a remote file system.
  71.  
  72. Hm.  The NTP daemon stepping a too-fast clock backwards?
  73.  
  74. >- Frank
  75.